package com.dlc.shop.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * VO
 *
 * @author FrozenWatermelon
 * @date 2023-11-09 18:00:43
 */
@Data
public class StockPointSkuVO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "库存商品关联skuid")
    private Long stockPointSkuId;

    @Schema(description = "库存点id")
    private Long stockPointId;

    @Schema(description = "库存点类型 1仓库 2门店 ")
    private Integer stockPointType;

    @Schema(description = "prodId")
    private Long prodId;

    @Schema(description = "skuid")
    private Long skuId;

    @Schema(description = "状态（对应sku的状态） 1:enable, 0:disable, -1:deleted")
    private Integer status;

    @Schema(description = "库存")
    private Integer stock;

    @Schema(description = "仓库类型 0默认仓库 1区域仓库 ")
    private Integer type;

    @Schema(description = "库存模式")
    private Integer stockMode;

    @Schema(description = "锁定库存数量")
    private Integer lockStock;

    @Schema(description = "销量")
    private Integer sale;

    public StockPointSkuVO() {
    }

    public StockPointSkuVO(Long skuId, Long stockPointId) {
        this.skuId = skuId;
        this.stockPointId = stockPointId;
    }

}
